#ifndef TOPIC_H_INCLUDED
#define TOPIC_H_INCLUDED

#include <vector>
#include <map>
#include <string>
class broadcast;
class vector;

using std::string;
using std::map;
using std::vector;
class Topic
{
    vector <broadcast *> broads;
    vector <Topic *> topics;
    map <string,double> center;

public:
    Topic();
    void addBroad(broadcast *bro);

private:
    void hac();
    void calculateCenter();
};


#endif // TOPIC_H_INCLUDED
